ngl: Fix opacity handling
authorMatthias Clasen <mclasen@redhat.com>
Wed, 15 Sep 2021 12:26:54 +0000 (08:26 -0400)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Sep 2021 21:59:37 +0000 (23:59 +0200)
commit390a0b2f2ad213b1699c7bfebb80495e4a226421
tree6e16c0ce5dbe386fd22f50a841d72e40f32b5475
parent0dfab46c156b64c1af29e426de5eb5c224465338
ngl: Fix opacity handling

We need to use an offscreen whenever there is overlapping
children somewhere in the tree below, just checking the
direct child of the opacity node is not enough.

Fixes: #4261
gsk/ngl/gsknglrenderjob.c